import $ from 'jquery'

function click(){
    alert("Hello World!");
}

$("#demo").on("click",click);